Skip to content

Conversation

waketzheng
Copy link

How to reproduce:

mkdir temp
cd temp
python3.11 -m venv venv
source venv/*/activate
pip install asyncer
python -c 'import asyncer'

BTW: I changed anyio.sleep(0) to anyio.lowlevel.checkpoint as ruff check --extend-select=ASYNC suggested. And remove the file poetry.toml as no longer need it.

This comment was marked as outdated.

@waketzheng
Copy link
Author

@tiangolo How to add a label?

@svlandeg svlandeg added the bug Something isn't working label Sep 12, 2024
@Stealthii
Copy link

Stealthii commented Sep 19, 2024

This bug affects v0.0.8 (the latest version) only.

@Stealthii
Copy link

This is still a persistent issue for Python 3.11+. This should be merged and released, as any packages using this that support 3.11 have to explicitly block v0.0.8 from dependency mapping.

@svlandeg svlandeg self-assigned this Sep 16, 2025
Copy link
Contributor

github-actions bot commented Oct 1, 2025

📝 Docs preview

Last commit 8affc12 at: https://cc31b8f4.asyncer.pages.dev

Copy link
Member

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @waketzheng, thanks for the report and apologies for the late follow-up!

I think this issue has been partly remedied by agronholm/anyio#824 (v4.7.0 released 5 dec 2024) where they explicitely install typing_extensions for Python < 3.13.

Nevertheless, I agree it makes sense to ensure this is internally consistent within asyncer itself as well, and we should only call typing_extensions for those Python versions for which we explicitely install it.

@svlandeg svlandeg removed their assignment Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants